package com.yunxitest.yunxitest

import android.app.Application

/**
 * Created by apple on 2018/10/19.
 */
class AppApplication : Application() {

    override fun onCreate() {
        super.onCreate()
        app = this
//        ShellUtils.execCmd("echo 0 > /sys/class/gpios-ctrl/usb_ctrl", false)
    }

    companion object {
        var app: AppApplication? = null
        fun instance(): AppApplication {
            return app as AppApplication
        }
    }
}